#!/bin/bash


function find_error_file(){
eval "grep -n \" ERROR \" $1 |grep -v Reader.lineOP | awk '{split (\$0,a,\":\");print \"\\\"\"a[1]\",\"a[1]+1\"p\\\"\" \" $1\" }'"|xargs -n 2 sed -n |sed "s/ /=/g"
}

find_error_file $1 | xargs -n 2 |sed "s/ /=/g" | awk '{split ($0,a,"=");print a[8]"--->"a[9] a[10]}'
